package chouxiang1;

public abstract class animal1 {
    private int age=20;
    private final String city="北京";

    public animal1(int age) {
        this.age = age;
    }
    public animal1() {
    }
    public void show(){
        age=40;
        System.out.println(age);
//        city="上海";
        System.out.println(city);
    }
    public abstract void eat();
}